/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package login.vista;

import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import login.LoginHostal;
import login.modelo.Controlador;

/**
 * FXML Controller class
 *
 * @author nahe
 */
public class FailLoginController implements Initializable {

    private LoginHostal application;
    /**
     * Initializes the controller class.
     */
    @Override
    public void initialize(URL url, ResourceBundle rb) {
        // TODO
    }    

    public void setApp(LoginHostal aThis){
        this.application = aThis;
    }
    
    @FXML
    private void handleBackButton(ActionEvent event) {
        application.loadLoginScene();
        
    }
    
}
